<link rel="stylesheet" type="text/css" media="all" href="jscalendar/calendar-brown.css" title="win2k-cold-1" />
<script type="text/javascript" src="jscalendar/calendar.js"></script>
<script type="text/javascript" src="jscalendar/lang/calendar-en.js"></script>
<script type="text/javascript" src="jscalendar/calendar-setup.js"></script>
<script type="text/javascript" src="http://download.skype.com/share/skypebuttons/js/skypeCheck.js"></script>
<div class="col_02" id="rightside">
                    <div class="main-wrap">
                        <div class="m-t">
                            <h2>Create Chats</h2>
                        </div>
                        <div class="m-c" id="create_forms">
                         	<div class="main-wrap">
                            	<h2 class="title"><a href="http://support.skype.com/" class="lnk_help">Help</a> Private Chat </h2>
                            	<div class="layout">
                                    <div class="forms_box fl">
                                    	<form action="" method="post" name="form_work">
                                            <table class="table_form">
                                                <tbody><tr>
                                                    <td><strong>Topic Title:</strong></td>
                                                    <td>
                                                        <input type="text" size="35" name="title" value="{$pri.sp_topic }"/>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td><strong>Topic Description:</strong></td>
                                                    <td>
														 <textarea name="description" style="width:200px">{$pri.sp_description}</textarea>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td valign="top"><strong>Skype ID:</strong></td>
                                                    <td>
                                                        <input type="text" size="35" name="skypeid" value="{$pri.sp_skype }" /><br />
															<a href="http://www.skype.com/download/skype/windows/" target="_blank">Get Skype ID</a>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td><strong>Date:</strong></td>
                                                    <td>
														  <input  type="text" name="date" size="25" id="f_date_c" readonly value="{$pri.sp_date}"><img src="images/img.gif" id="f_trigger_c" style="cursor: pointer; border: 0px solid red;" align="absmiddle" title="Date selector" />
                                                        {literal}
                                                        <script type="text/javascript">
                                                        Calendar.setup({
                                                            inputField     :    "f_date_c",     // id of the input field
                                                            ifFormat       :    "%m/%d/%Y",      // format of the input field
                                                            button         :    "f_trigger_c",  // trigger for the calendar (button ID)
                                                            align          :    "Br",           // alignment (defaults to "Bl")
                                                            singleClick    :    true
                                                        });
                                                        </script>
														{/literal}
                                                        
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td><strong>Time:</strong></td>
                                                    <td><table width="100%" border="0" cellpadding="0" cellspacing="0">
														<tr><td>
														<b>Start</b>
														</td>
														<td></td>
														<td>
														<b>End</b>
														</td>
														</tr>
														<tr><td>
														<select name="fromhour">
															{html_options selected=$pri.fromhour options=$hours}
														</select>:
														<select name="frommin">
															{html_options selected=$pri.frommin options=$mins}
														</select>
														</td>
														<td><strong>To:</strong></td>
														<td>
														<select name="tohour">
															{html_options selected=$pri.tohour options=$hours}
														</select>:
														<select name="tomin">
															{html_options selected=$pri.tomin options=$mins}
														</select>
														</td>
														
														</tr>
													</table>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td><strong>Time Zone:</strong></td>
                                                    <td>
                                                     	<input type="text" size="35" name="fullname" value="{$uname}" readonly />
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td><strong>User Name:</strong></td>
                                                    <td>
                                                    	<input type="text" size="35" name="fullname" value="{$uname}" readonly/>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td><strong>Email:</strong></td>
                                                    <td>
                                                        <input type="text" size="35" name="email" value="{$pri.sp_uemail}" />
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td><strong>Language Spoken:</strong></td>
                                                    <td>
                                                        <input type="text" size="35" name="spoken" value="{$pri.sp_language}" />
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td colspan="2"><strong>Select Pages:</strong></td>
                                                </tr>
                                                <tr>
                                                    <td colspan="2">
													<input name="pri[]" type="checkbox" value="1"  {if $pri.page1==1}checked{/if} />
													Employers<br />
													<input name="pri[]" type="checkbox" value="2"   {if $pri.page2==1}checked{/if}/>
													Candidates<br />
													<input name="pri[]" type="checkbox" value="3"   {if $pri.page3==1}checked{/if}/>
													Recruiters<br />
													<input name="pri[]" type="checkbox" value="4"   {if $pri.page4==1}checked{/if}/>
													Advisors </td>
                                                </tr>
                                                <tr>
                                                    <td colspan="2"> [<a href="#" onclick="CheckAll('pri[]')">Select All</a>] [<a href="#" onclick="CheckOutAll('pri[]')">Reset</a>] </td>
                                                </tr>
                                                <tr>
                                                  <td colspan="2"><strong>Activate<a href="###" onmouseover="Tip('You must check the box to activate your chat.  Once your chat is activated it will appear on our active chat list and be searchable by members.  Uncheck the box to deactivate.  For Public Chats, you may select one of four available colors.  Go to the preview section below to see what your chat image will look like.  If you don\'t see your Skype Button or Skype Public Chat Button then you need to enter your Skype ID/Link again.  Go to the HELP page if you need more help creating Skype Chat.', WIDTH, 300, SHADOW, true)"> <img src="images/icn_question.jpg" border="0" align="absmiddle" /></a>:</strong> <input name="active" type="checkbox" value="1"  {if $pri.sp_status==1}checked{/if} /></td>
                                                </tr>
                                                <tr>
                                                    <td colspan="2">
                                                        <input type="submit" value="Submit" class="button-primary" />
                                                        <input type="hidden" name="action" value="{$pri_action}" />
                                                        <input type="hidden" value="private" name="type">
                                                    </td>
                                                </tr>
                                            </tbody></table>
                                            </form>
                                    </div>
                                    <div class="preview_box fr">
                                    	<h3 class="title">Preview</h3>
                                        <div class="content">
										{if $empty1!='1'}
                                        	<strong><span class="mychat"><a href="###" onclick="window.open('chatdetail.php?id={$pri.sp_id}','','left=100,top=50,height=300,width=400,menubar=no,toolbar=no,location=yes,status=no,scrollbars=yes,resizable=yes');">{$pri.sp_topic}</a></span></strong><br/>
											{$pri.sp_date}<br />
											{$pri.fromhour}:{$pri.frommin}-{$pri.tohour}:{$pri.tomin}({$pri.sp_timezone})<br />
                                            <a href="skype:{$pri.sp_skype}?chat"><img src="http://mystatus.skype.com/balloon/{$pri.sp_skype}" style="border: none;" width="150" height="60" alt="My status" /></a><br />
                                            <p class="t-c"><a href="{if $pri.sp_utype==0}advisordetail{else}recdetail{/if}.php?id={$pri.sp_uid}" target="_blank">{$pri.sp_fullname}</a></p>
										{else}
										<center>
										N/A
										</center>
										{/if}
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="clearfix"></div>
                            <div class="main-wrap mt_15">
                            	<h2 class="title"><a href="http://support.skype.com/" class="lnk_help">Help</a> Public Chate </h2>
                            	<div class="layout">
                                    <div class="forms_box fl">
                                    	<form action="" method="post" name="form_work">
                                            <table class="table_form">
                                                <tbody><tr>
                                                    <td><strong>Topic Title:</strong></td>
                                                    <td>
														<input type="text" size="35" name="title" value="{$pub.sp_topic }"/>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td><strong>Topic Description:</strong></td>
                                                    <td>
                                                    	<textarea name="description" style="width:200px">{$pub.sp_description}</textarea>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td valign="top"><strong>Skype Link:</strong></td>
                                                    <td>
                                                     	<input type="text" size="35" name="skypeid" value="{$pub.sp_skype }" /><br />
														<a href="http://www.skype.com/help/guides/publicchat_create.html" target="_blank">Get Public Chat Link</a>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td><strong>Date:</strong></td>
                                                    <td>
                                                        <input  type="text" name="date" size="25" id="f_date_d" readonly value="{$pub.sp_date}"><img src="images/img.gif" id="f_trigger_d" style="cursor: pointer; border: 0px solid red;" align="absmiddle" title="Date selector" />
                                                        {literal}
                                                        <script type="text/javascript">
                                                        Calendar.setup({
                                                            inputField     :    "f_date_d",     // id of the input field
                                                            ifFormat       :    "%m/%d/%Y",      // format of the input field
                                                            button         :    "f_trigger_d",  // trigger for the calendar (button ID)
                                                            align          :    "Br",           // alignment (defaults to "Bl")
                                                            singleClick    :    true
                                                        });
                                                        </script>
                                                        {/literal}
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td><strong>Time:</strong></td>
                                                    <td><table width="100%" border="0" cellpadding="0" cellspacing="0">
															 <tr><td>
															<b>Start</b>
															</td>
															<td></td>
															<td>
															<b>End</b>
															</td>
															</tr>
															<tr><td>
															<select name="fromhour">
																{html_options selected=$pub.fromhour options=$hours}
															</select>:
															<select name="frommin">
																{html_options selected=$pub.frommin options=$mins}
															</select>
															</td>
															<td><strong>To:</strong></td>
															<td>
															<select name="tohour">
																{html_options selected=$pub.tohour options=$hours}
															</select>:
															<select name="tomin">
																{html_options selected=$pub.tomin options=$mins}
															</select>
															</td>
															
															</tr>
														</table>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td><strong>Time Zone:</strong></td>
                                                    <td>
                                                        <input type="text" size="35" name="timezone" value="{$pub.sp_timezone}" />
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td><strong>User Name:</strong></td>
                                                    <td>
                                                        <input type="text" size="35" name="fullname" value="{$uname}" readonly/>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td><strong>Email:</strong></td>
                                                    <td>
                                                       <input type="text" size="35" name="email" value="{$pub.sp_uemail}" />
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td><strong>Language Spoken:</strong></td>
                                                    <td>
														 <input type="text" size="35" name="spoken" value="{$pub.sp_language}" />
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td colspan="2"><strong>Select Pages:</strong></td>
                                                </tr>
                                                <tr>
                                                    <td colspan="2">
                                                        <input name="pub[]" type="checkbox" value="1"   {if $pub.page1==1}checked{/if} />
														Employers<br /> 
														<input name="pub[]" type="checkbox" value="2"   {if $pub.page2==1}checked{/if}/>
														Candidates<br />
														<input name="pub[]" type="checkbox" value="3"   {if $pub.page3==1}checked{/if}/>
														Recruiters<br />
														<input name="pub[]" type="checkbox" value="4"   {if $pub.page4==1}checked{/if}/>
														Advisors </td>
                                                </tr>
                                                <tr>
                                                    <td colspan="2">[<a href="#" onclick="CheckAll('pub[]')">Select All</a>] [<a href="#" onclick="CheckOutAll('pub[]')">Reset</a>] </td>
                                                </tr>
                                                <tr>
                                                    <td colspan="2">
                                                        <strong>Activate<a href="###" onmouseover="Tip('You must check the box to activate your chat.  Once your chat is activated it will appear on our active chat list and be searchable by members.  Uncheck the box to deactivate.  For Public Chats, you may select one of four available colors.  Go to the preview section below to see what your chat image will look like.  If you don\'t see your Skype Button or Skype Public Chat Button then you need to enter your Skype ID/Link again.  Go to the HELP page if you need more help creating Skype Chat.', WIDTH, 300, SHADOW, true)"> <img src="images/icn_question.jpg" border="0" align="absmiddle" /></a>:</strong> <input name="active" type="checkbox" value="1" {if $pub.sp_status==1}checked{/if}/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<strong>Color:</strong>
													  {html_radios name="color" options=$colors checked=$pub.sp_color separator="&nbsp;"}
                                                  </td>
                                                </tr>
                                                <tr>
                                                    <td colspan="2">
                                                        <input type="submit" value="Submit" class="button-primary">
                                                        <input type="hidden" name="action" value="{$pub_action}" />
                                                        <input type="hidden" value="public" name="type">
                                                    </td>
                                                </tr>
                                            </tbody></table>
                                            </form>
                                    </div>
                                    <div class="preview_box fr">
                                    	<h3 class="title style0{$pub.color}">Preview</h3>
                                        <div class="content">
										{if $empty2!='1'}
                                        	<strong><span class="mychat"><a href="###" onclick="window.open('chatdetail.php?id={$pri.sp_id}','','left=100,top=50,height=300,width=400,menubar=no,toolbar=no,location=yes,status=no,scrollbars=yes,resizable=yes');">{$pub.sp_topic}</a></span></strong><br/>
											{$pub.sp_date}<br />
											{$pub.fromhour}:{$pub.frommin}-{$pub.tohour}:{$pub.tomin}({$pub.sp_timezone})<br />
                                            <a href="skype:{$pub.sp_skype}?chat"><img src="http://mystatus.skype.com/balloon/{$pub.sp_skype}" style="border: none;" width="150" height="60" alt="My status" /></a><br />
                                            <p class="t-c"><a href="{if $pub.sp_utype==0}advisordetail{else}recdetail{/if}.php?id={$pub.sp_uid}" target="_blank">{$pub.sp_fullname}</a></p>
										{else}
											<center>
											N/A
											</center>
										{/if}
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
</div>
			</div>
		</div>
	</div>
</section>
